package cn.dakaqi.vo.response;

import cn.dakaqi.entities.Group;
import lombok.Data;

import java.io.Serializable;

/**
 * Created by chunyang on 2016/5/5.
 */
@Data
public class SamllGroupVO implements Serializable
{
    public static SamllGroupVO buildVO(Group group,long times)
    {
        SamllGroupVO vo = new SamllGroupVO();
        vo.setGroupId(group.getId());
        vo.setName(group.getName());
        vo.setGroupCode(group.getGroupCode());
        vo.setTimes(times);
        return vo;
    }
    private long groupId;
    private String name;
    private String groupCode;
    private long times;
}
